@left-width: 260px;

.designer-layout {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;

  .layout-left {
    display: flex;
    flex-direction: column;
    width: @left-width;
    border-right: 1px solid #ccc;
    overflow: hidden;
    flex-shrink: 0;
  }

  .layout-center {
    position: relative;
    flex: 1;
    overflow: hidden;

    .center-content {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .center-title {
      padding: 6px 10px;
      font-size: 18px;
      color: #333;
    }

    .center-table {
      flex: 1;
      overflow: hidden;
    }
  }

  .layout-right {
    width: 300px;
    flex-shrink: 0;
    border-left: 1px solid #ccc;
  }
}

.pannel-title {
  font-size: 14px;
  color: #333;
  background-color: #eee;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 5px;
  flex-shrink: 0;

  &:first-child {
    border-top: 0;
  }
}

.flex-1 {
  flex: 1;
  overflow: hidden;
}

.pannel-content {
}
#stencil {
  width: @left-width;
  height: 100%;
  position: relative;
  border-right: 1px solid #dfe3e8;
}
#graph-container {
  width: 100%;
  height: 100%;
}
.x6-widget-stencil  {
  background-color: #fff;
}
.x6-widget-stencil-title {
  background-color: #fff;
}
.x6-widget-stencil-group-title {
  background-color: #fff !important;
}
.x6-widget-transform {
  margin: -1px 0 0 -1px;
  padding: 0px;
  border: 1px solid #239edd;
}
.x6-widget-transform > div {
  border: 1px solid #239edd;
}
.x6-widget-transform > div:hover {
  background-color: #3dafe4;
}
.x6-widget-transform-active-handle {
  background-color: #3dafe4;
}
.x6-widget-transform-resize {
  border-radius: 0;
}
.x6-widget-selection-inner {
  border: 1px solid #239edd;
}
.x6-widget-selection-box {
  opacity: 0;
}


.form-content {
  padding: 10px 6px;
}


.cus-tabs {

}

.flex-tabs {
  flex: 1;
  overflow: hidden;

  .ant-tabs {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }

  .ant-tabs-nav {
    margin-bottom: 0!important;
  }

  .ant-tabs-content-holder {
    flex: 1;
    overflow: hidden;
  }

  .ant-tabs-tabpane,
  .ant-tabs-content {
    height: 100%;
  }
}

.com-search {
  padding: 6px 10px;
}
.com-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  
  // .x6-widget-stencil-group-title,
  // .x6-widget-stencil-title {
  //   display: none;
  // }

  .com-content {
    position: relative;
    flex: 1;
    overflow: hidden;
  }
}